package helper;

import javax.mail.PasswordAuthentication;

/**
 * This is used in conjuction with Postman.java
 * SimpleAuthenticator is used to do simple authentication when the SMTP
 * server requires it.
 */
public class SMTPAuthenticator extends javax.mail.Authenticator {
    

    public PasswordAuthentication getPasswordAuthentication() {
        String username = "cfa.noreply@gmail.com";
        String password = "majestic"; //no no no... you wont get my password that easily
        return new PasswordAuthentication(username, password);
    }
}